package edu.xidian.bdilab.jrbigdata.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName EnterpriseInfo
 * @Description TODO
 * @Author tuantuan
 * @Date 2019/3/25 上午8:47
 * @Version 1.0
 * @Attention Copyright (C), 2004-2019, BDILab, XiDian University
 * @Update 2021/5/26 Catfish 增加开户行、水电、社保
 **/

@TableName(value = "enterprise_info")
@Data
public class EnterpriseInfo {
    /**
     * 统一社会信用代码，18位阿拉伯数字或大写英文字母，唯一标识一条记录
     */
    @TableId(value = "social_code")
    String socialCode;
    /**
     * 企业名称
     */
    String enterpriseName;
    /**
     * 企业注册资本（单位：万元）
     */
    int registeredCaptial;
    /**
     * 法人姓名
     */
    String ownerName;
    /**
     * 所属区域：
     * 0-碑林区
     * 1-莲湖区
     * 2-灞桥区
     * 3-雁塔区
     * 4-阎良区
     * 5-未央去
     * 6-新城区
     * 7-长安区
     * 8-临潼区
     */
    int region;
    /**
     * 街道/乡镇
     */
    String street;
    /**
     * 法定代表人手机号码
     */
    String ownerPhone;
    /**
     * 联系人姓名
     */
    String contactName;
    /**
     * 联系人手机号
     */
    String contactPhone;
    /**
     * 成立时间
     */
    Date establishTime;
    /**
     * 注册地址
     */
    String establishAddress;
    /**
     * 信保基金额度（单位：万元）
     */
    int fundQuota;
    /**
     * 可用额度（单位：万元）
     */
    int available;
    /**
     * 经营范围
     */
    String businessScop;
    /**
     * 信用等级
     * 暂时无详细含义
     */
    int isCreditRate;
    /**
     * 企业详情
     */
    String enterpriseDesc;
    /**
     * 开户行
     */
    String accountBank;
    /**
     * 水电缴费账号
     */
    String electricityChargeCode;
    /**
     * 社保缴费账号
     */
    String socialSecurityCode;


    public String getSocialCode() {
        return socialCode;
    }

    public void setSocialCode(String socialCode) {
        this.socialCode = socialCode;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public int getRegisteredCaptial() {
        return registeredCaptial;
    }

    public void setRegisteredCaptial(int registeredCaptial) {
        this.registeredCaptial = registeredCaptial;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public int getRegion() {
        return region;
    }

    public void setRegion(int region) {
        this.region = region;
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street;
    }

    public String getOwnerPhone() {
        return ownerPhone;
    }

    public void setOwnerPhone(String ownerPhone) {
        this.ownerPhone = ownerPhone;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public Date getEstablishTime() {
        return establishTime;
    }

    public void setEstablishTime(Date establishTime) {
        this.establishTime = establishTime;
    }

    public String getEstablishAddress() {
        return establishAddress;
    }

    public void setEstablishAddress(String establishAddress) {
        this.establishAddress = establishAddress;
    }

    public int getFundQuota() {
        return fundQuota;
    }

    public void setFundQuota(int fundQuota) {
        this.fundQuota = fundQuota;
    }

    public int getAvailable() {
        return available;
    }

    public void setAvailable(int available) {
        this.available = available;
    }

    public String getBusinessScop() {
        return businessScop;
    }

    public void setBusinessScop(String businessScop) {
        this.businessScop = businessScop;
    }

    public int getIsCreditRate() {
        return isCreditRate;
    }

    public void setIsCreditRate(int isCreditRate) {
        this.isCreditRate = isCreditRate;
    }

    public String getEnterpriseDesc() {
        return enterpriseDesc;
    }

    public void setEnterpriseDesc(String enterpriseDesc) {
        this.enterpriseDesc = enterpriseDesc;
    }

    public String getAccountBank() {return accountBank; }

    public void setAccountBank(String accountBank) {this.accountBank = accountBank; }

    public String getElectricityChargeCode() {return electricityChargeCode; }

    public void setElectricityChargeCode(String electricityChargeCode) {this.electricityChargeCode = electricityChargeCode; }

    public String getSocialSecurityCode() {return socialSecurityCode; }

    public void setSocialSecurityCode(String socialSecurityCode) {this.socialSecurityCode = socialSecurityCode; }

}
